package com.hps.spring.cloud.initializrstart.service;

import com.hps.spring.cloud.initializrstart.vo.WeatherResponse;

/**
 * @Author: hps
 * @Description:
 * @Date: Created in 11:13 2018/8/29
 */
public interface WeatherDataService {

    /**
     * 根据城市Id查询天气数据
     * @param cityId
     * @return
     */
    WeatherResponse getDataByCityId(String cityId);

    /**
     * 根据城市名称查询天气数据
     * @param cityName
     * @return
     */
    WeatherResponse getDataByCityName(String cityName);
}
